package abastractfactory;

import simplefactroy.ICourse;
import simplefactroy.JavaCourse;

/**
 * @program: homeWork
 * @description:
 * @author: hezhiqin
 * @create: 2019-09-24 20:00
 */
public class JAVACourseFactory implements  ICourseFactroy {
    public ICourse createCourse() {
        return new JavaCourse();
    }

    public INote createNote() {
        return new JavaNote();
    }

    public IVideo createVideo() {
        return new JavaVideo();
    }
}
